const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  username: state => state.user.userinfo.username,
  staffPhoto: state => state.user.userinfo.staffPhoto,
  menus: state => state.user.userinfo.roles.menus,
  points: state => state.user.userinfo.roles.points
}
export default getters
